package com.itlxd.service;

import com.itlxd.entity.OrderDetail;
import org.springframework.core.annotation.Order;

import java.util.List;

/**
 * <p>
 * 订单明细表 服务类
 * </p>
 *
 * @author ${author}
 * @since 2021-12-25
 */
public interface IOrderDetailService {

    /**
     * 批量插入订单明细
     * @return
     */
    Long insertOrderDetail(List<OrderDetail> orderDetails);

    /**
     * 保存单条订单明细记录
     * @return
     */
    Integer save(OrderDetail orderDetail);
}
